"bootstrap RTL (Arabic) navbar"
Bootstrap 3.0.0 Snippet by amr rashed

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<link href="//netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css">
<script src="//netdna.bootstrapcdn.com/bootstrap/3.0.0/js/bootstrap.min.js"></script>
<script src="//code.jquery.com/jquery-1.11.1.min.js"></script>
<!------ Include the above in your HEAD tag ---------->
<html lang="ar" dir="rtl">
<head>
<meta charset="utf-8" >
<title>project1</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="">
<meta name="author" content="">
</head>
<body>
<!-- Static navbar -->
<div class="navbar navbar-inverse navbar-fixed-top">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
</div>
<div class="navbar-collapse collapse pull-right">
<ul class="nav navbar-nav navbar-right">
<li class="divider-vertical"></li>
<li><a href="#">بحث<span class="glyphicon glyphicon-search pull-right"></span></a></li>
<li class="divider-vertical"></li>
<li ><a href="#">عرض مرفقات<span class="glyphicon glyphicon-download pull-right"></span></a></li>
<li class="divider-vertical"></li>
<li class="dropdown thumb-dropdown">
<a href="#" class="dropdown-toggle pull-right" data-toggle="dropdown">عرض تقارير <span class="caret"></span><span class="glyphicon glyphicon-comment pull-right"></span></a>
<ul class="dropdown-menu pull-right" role="menu">
<li>
<a href="#">تقرير الكتب
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#nav2{
margin-top:0px;
margin-left:50px;
}
#drop2{
width:20%;
margin-top:20px;
border-radius:4px;
box-shadow:none;
}
.thumb-dropdown .dropdown-menu > li {
position: relative;
}
.thumb-dropdown .dropdown-menu > li > a .thumbnail {
position: absolute;
left: 100%;
top: -10px;
display: none;
width: 350px;
height: auto;
margin-left: 5px;
}
.thumb-dropdown .dropdown-menu > li > a:hover .thumbnail {
display: block;
}
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Related: See More


Questions / Comments: